package com.test.spring_ioc_1;
/**
 * Student
 * @author Lenovo
 *
 */
public class Student {
	private int id;
	private String name;
	private int age;
	public Student() {
		System.out.println("创建Student对象");
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String toString() {
		return "编号："+id+" 名字："+name+" 年龄："+age;
	}
}
